
.PHONY:all

all:udpclient udpserver
udpserver:Main.cc
	g++ -o $@ $^ -std=c++11
udpclient:UdpClient.cc
	g++ -o $@ $^   -lpthread -std=c++11 

.PHONY:clean
clean:
	rm -f udpserver udpclient